package com.xxxy.blockHandler;

import com.alibaba.csp.sentinel.slots.block.BlockException;
import org.springframework.stereotype.Component;

@Component
public class HotspotBlockHandler {
    public static String hotSpotBlockHandler(String userId, String shopId, BlockException e) {
        String msg = "恶意访问，触发热点限流";
        System.out.println(msg);
        return msg;
    }
}
